<template>
	
 	<div class="layui-layout layui-layout-admin" >
 	  <div class="adminnav1">	
        <Pagetop></Pagetop>
      </div>
      <div class="adminnav2">	
       	<Secondnav urlname="daili"></Secondnav>
      </div>
      
      <!-- 主体内容 -->
      <div class="layui-body kedou-admin" id="LAY_app_body app">
	    <div class="layadmin-tabsbody-item layui-show">
	    	<div class="pagelist">
	    		<div class="layui-card-body">
		      		<fieldset class="layui-elem-field layui-field-title">
					  <legend>代理商基础设置</legend>					 
					</fieldset>					
		        </div>		       		        	    		
		        <div class="layui-card-body cardbody">
		        	<div class="layui-form" lay-filter="">
		        		<div class="layui-form-item formitem">	        		
						    <label class="layui-form-label fromlabel">代理资质审核权限：</label>
						    <div class="layui-input-block inputblock">
						      <input type="radio" name="sex" value="自动审核 " title="自动审核 ">
						      <input type="radio" name="sex" value="仅限总部审核" title="仅限总部审核">
						      <input type="radio" name="sex" value="总部及邀请人均可审核" title="总部及邀请人均可审核" checked>
						    </div>
						    <div class="layui-input-block" style="color:#cccccc">设置为自动审核时，代理申请后无需人工审核即可通过</div>
					    </div>
					    <!--//-->
					    <div class="layui-form-item formitem" style="margin-bottom:0;">	        		
						    <label class="layui-form-label fromlabel">代理进货关系网权限：</label>
						    <div class="layui-input-block">
						      <input type="checkbox" name="switch" lay-skin="switch">						      
						      <span style="color:#cccccc;">允许查看下级库存</span>					     
						    </div>						    						    
					    </div>    
						<div class="layui-form-item formitem" style="margin-bottom:0;">    
						    <label class="layui-form-label fromlabel"></label>    
						    <div class="layui-input-block">						     
						      <input type="radio" name="" value="允许代理查看关系网内所有代理详细信息" title="允许代理查看关系网内所有代理详细信息" checked>					      
						    </div>
						</div>    
						<div class="layui-form-item formitem" style="margin-bottom:0;">    
						    <label class="layui-form-label fromlabel"></label>
						    <div class="layui-input-block" style="color:#cccccc">设置该选项时，代理商可以查看所有属于他关系网内的代理详细信息</div>					   
						</div>
						<div class="layui-form-item formitem" style="margin-bottom:0;">
							<label class="layui-form-label fromlabel"></label>
							<div class="layui-input-block">						     
						      <input type="radio" name="" value="仅允许代理查看关系网内直属代理详情信息" title="仅允许代理查看关系网内直属代理详情信息">					      
						    </div>
						</div>    
						<div class="layui-form-item formitem">    
						    <label class="layui-form-label fromlabel"></label>
						    <div class="layui-input-block" style="color:#cccccc">设置该选项时，代理商仅能看到其直属的代理详细信息，不能查看非直属代理资料信息</div>					   						
					    </div> 
					    <!--//-->
					    <div class="layui-form-item formitem" style="margin-bottom:0;">	        		
						    <label class="layui-form-label fromlabel">代理邀请关系网权限：</label>
						    <div class="layui-input-block">
						      <input type="checkbox" name="switch" lay-skin="switch">					      
						      <span style="color:#cccccc">允许查看邀请关系最高代理</span>					     
						    </div>						  
					    </div>    
						<div class="layui-form-item formitem" style="margin-bottom:0;">    
						    <label class="layui-form-label fromlabel"></label>    
						    <div class="layui-input-block">						     
						      <input type="radio" name="" value="允许代理查看关系网内所有代理详细信息" title="允许代理查看关系网内所有代理详细信息" checked>					      
						    </div>
						</div>    
						<div class="layui-form-item formitem" style="margin-bottom:0;">    
						    <label class="layui-form-label fromlabel"></label>
						    <div class="layui-input-block" style="color:#cccccc">设置该选项时，代理商可以查看所有属于他关系网内的代理详细信息</div>					   
						</div>
						<div class="layui-form-item formitem" style="margin-bottom:0;">
							<label class="layui-form-label fromlabel"></label>
							<div class="layui-input-block">						     
						      <input type="radio" name="" value="仅允许代理查看关系网内直属代理详情信息" title="仅允许代理查看关系网内直属代理详情信息">					      
						    </div>
						</div>    
						<div class="layui-form-item formitem">    
						    <label class="layui-form-label fromlabel"></label>
						    <div class="layui-input-block" style="color:#cccccc">设置该选项时，代理商仅能看到其直属的代理详细信息，不能查看非直属代理资料信息</div>					   						
					    </div>
					   <!-- //-->
						<div class="layui-form-item formitem">	        		
						    <label class="layui-form-label fromlabel">代理商首页数据展示：</label>
						    <div class="layui-input-block">
						      <input type="checkbox" name="switch" lay-skin="switch" checked="false">					      
						      <span >开启后首页会直接展示代理的数据信息,至少选择三项展示信息</span>			      				      
						    </div>
						    <div class="layui-input-block inputblock">
							    <input type="checkbox" name="" title="代理当前的总业绩" lay-skin="primary" checked>
							    <input type="checkbox" name="" title="代理的累计收入" lay-skin="primary" checked>
							    <input type="checkbox" name="" title="代理的货款余额信息" lay-skin="primary" checked>							   
						    </div>
						    <label class="layui-form-label fromlabel"></label>
						    <div class="layui-input-block inputblock">
						        <input type="checkbox" name="" title="代理的当月业绩" lay-skin="primary" checked>
							    <input type="checkbox" name="" title="代理的当月收入" lay-skin="primary" checked>
							    <input type="checkbox" name="" title="代理的可用积分" lay-skin="primary" >	
						    </div>
						     <label class="layui-form-label fromlabel"></label>
						    <div class="layui-input-block inputblock">
						        <input type="checkbox" name="" title="代理的小店总销售额" lay-skin="primary" checked>
							    <input type="checkbox" name="" title="代理的可提现余额" lay-skin="primary" checked>							    	
						    </div>
						</div>
						<!--//-->
						<div class="layui-form-item formitem" style="margin-bottom:0">	        		
						    <label class="layui-form-label fromlabel">代理端信息展示：</label>
						    <div class="layui-form-mid layui-word-aux">顶级团队业绩展示</div>
						    <div class="layui-input-block">
						      <input type="checkbox" name="switch" lay-skin="switch">					      						      			      				      
						    </div>
						</div>    
						<div class="layui-form-item formitem" style="margin-bottom:0;">
							<label class="layui-form-label fromlabel"></label>
						    <!--<div class="layui-form-mid layui-word-aux">邀请团队业绩展示</div>	-->					    
						    <div class="layui-input-block">
						      <div class="layui-form-mid layui-word-aux">邀请团队业绩展示</div> 
						      <input type="checkbox" name="xxx" lay-skin="switch">					      						      			      				      
						    </div>						   
						</div>						
						<div class="layui-form-item formitem">
							<label class="layui-form-label fromlabel"></label>
						    <div class="layui-form-mid layui-word-aux">进货团队业绩展示</div>
						    <div class="layui-input-block">						      
						      <input type="checkbox" name="xxx" lay-skin="switch">
						    </div>
						</div>
						<!--//-->
						<div class="layui-form-item formitem">
							<label class="layui-form-label fromlabel">代理管理后台登录链</label>
						    <div class="layui-form-mid layui-word-aux">https://xhhnnc.weiyianws.com</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn layui-btn-normal" lay-submit lay-filter="setmyinfo" @click="confirmOk">确认</button>
							</div>
						</div>
				    </div>
		        </div>		      
	        </div>
	    </div>
	  </div>  
	     
	</div>
</template>
<script>	
	import Pagetop from '../../common/pagetop.vue'
	import Secondnav from '../../common/secondnav.vue'
	import Tables from '../../common/tables.vue'
	import Search from '../../common/search.vue'
	export default {
	  name: 'setjc',
	  components: {Pagetop,Secondnav,Tables,Search},	  
	  data () {
	    return {
	          	
	    }
	  },
	  mounted(){ 	
	  	var _this = this;
	  },
	  methods: {	 	  
 		confirmOk:function(){
 			alert('开发中') 			
 		},
		screens:function(){
			return screen();
		},	
     },
	 updated:function(){
	  	this.isShow = true;
		layui.use('form', function(){
		  var form = layui.form;
		  form.render();	 
		});
	 },
}
</script>
<style scoped>
.cardbody .formitem{}
.cardbody .formitem .fromlabel{width:15%;}
.cardbody .formitem.inputblock{width:85%;}
/*.fromlabel{width:150px;}
.formitem .inputblock span{margin-top:8px;}*/
</style>
